﻿CREATE PROCEDURE [dbo].[proc_ClientesUpdate]
(
	@IdCliente bigint,
	@Nome nvarchar(255)
)
AS
BEGIN

	SET NOCOUNT OFF
	DECLARE @Err int

	UPDATE [Clientes]
	SET
		[Nome] = @Nome,
		[DataAlteracao] = GETDATE()
	WHERE
		[IdCliente] = @IdCliente


	SET @Err = @@Error


	RETURN @Err
END
